home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / edit / aurora2.zip / QUICKFUN.DOX < prev    next >
Text File  |  1995-01-26  |  39KB  |  905 lines

  1.  
  2.  
  3.   AML Function Quick Reference
  4.   ────────────────────────────
  5.   This Quick Reference lists all AML statements and functions and by
  6.   category, including builtin (A.EXE), library (LIB.X), and extension
  7.   (EXT.AML) functions.
  8.  
  9.   To use the Quick Reference within a macro: move the cursor to a
  10.   function name or statement keyword and press <shift f1>. This Quick
  11.   Reference can be used in any text file, including the Language
  12.   Reference (LANGUAGE.DOX), and the Function Reference (FUNCTION.DOX).
  13.  
  14.   To transfer to the full AML Function Reference: move the cursor to a
  15.   function name or statement keyword in this Quick Reference and press
  16.   <shift f2>. Note that most extension functions are not documented in
  17.   the Function Reference.
  18.  
  19.   ──────────────────────────────────────────────────────────────────────
  20.   Copyright (C) 1995 by nuText Systems.  All rights reserved worldwide.
  21.   No parts of this document may be copied in part or in whole, except as
  22.   provided in the License in the accompanying documenation.
  23.   ──────────────────────────────────────────────────────────────────────
  24.  
  25.  
  26.   Language Statements
  27.   ───────────────────
  28.  
  29.   statements:
  30.     break                      // exit loops
  31.     case when otherwise / end  // complex conditional statement
  32.     databuf / end              // define or add to a data buffer
  33.     define / end               // define compile-time constants/functions
  34.     forward                    // declare a function symbol
  35.     function / end             // define a function
  36.     if elseif else / end       // conditional statement
  37.     if?                        // short conditional statement
  38.     include                    // include a macro source file
  39.     key / end                  // define a key function
  40.     keyword                    // define syntax highlighting keywords
  41.     loop / end                 // unconditional loop
  42.     menu item / end            // define a pull-down or popup menu
  43.     menubar item / end         // define a menu bar for a window
  44.     object                     // create object / change current object
  45.     ref                        // pass a variable by reference
  46.     repeat / until             // repeat-until conditional loop
  47.     return                     // return from a function or macro
  48.     set                        // object variable assignment
  49.     setobj                     // object variable remote assignment
  50.     setx                       // object variable expression assignment
  51.     setxfun                    // function expression remote assignment
  52.     setxobj                    // object variable expr remote assignment
  53.     var                        // declare a local or global variable
  54.     while do / end             // while conditional loop
  55.  
  56.  
  57.   Objects:
  58.   ───────
  59.  
  60.   statements:
  61.     object         // create an object or change the current object
  62.  
  63.   builtin functions:
  64.     destroyobject  // destroy an object
  65.     eventobject    // change the current event object
  66.     function?      // test for the existence of a function
  67.     getcurrobj     // get the current (executing) object
  68.     geteventobj    // get the current event object
  69.     getobjsize     // get number of variable & functions in an object
  70.     inheritkeys    // enable/disable key inheritance
  71.     object?        // test for the existence of an object
  72.     objtype?       // test object inheritance hierarchy
  73.     saveobject     // save an object to a file
  74.     unsetx         // destroy an object variable
  75.  
  76.  
  77.   Event Handling:
  78.   ──────────────
  79.  
  80.   builtin functions:
  81.     call           // dispatch an event in the current object
  82.     dispatch       // wait for and dispatch the next event
  83.     endprocess     // return from a recursive invokation of the editor
  84.     event?         // test if one or more events are in the event queue
  85.     eventobject    // change the current event object
  86.     getcurrobj     // get the current (executing) object
  87.     geteventobj    // get the current event object
  88.     pass           // call the current function in a parent object
  89.     process        // invoke the editor recursively
  90.     purgequeue     // remove all events from the event queue
  91.     queue          // add an event to the event queue
  92.     queueobject    // queue an event to a specific object
  93.     send           // dispatch an event in the current event object
  94.     sendobject     // dispatch an event to a specified object
  95.     sizequeue      // change the event queue size
  96.  
  97.  
  98.   Macro Compilation and Execution:
  99.   ───────────────────────────────
  100.  
  101.   builtin functions:
  102.     compilemacro   // compile a macro source file
  103.     eval           // evaluate a string as macro source code
  104.     geterror       // returns error information
  105.     includemacro   // load and execute a compiled macro file
  106.     runmacro       // load, execute, and discard a compiled macro
  107.  
  108.   extension functions:
  109.     askcmacro      // prompt to compile a macro source file
  110.     askeval        // prompt to evaluate a macro expression
  111.     askimacro      // prompt to include a compiled macro file
  112.     askrmacro      // prompt to run a compiled macro file
  113.     compilemacro2  // compile a macro source file (with messages)
  114.     includemacro2  // load and execute a compiled macro file
  115.     recompile      // recompile the editor
  116.     runmacro2      // load, execute, and discard a compiled macro
  117.     saveconfig     // recompile and save current config variables
  118.  
  119.  
  120.   Strings:
  121.   ───────
  122.  
  123.   builtin functions:
  124.     bin2hex        // convert binary strings to hex strings
  125.     bin2int        // convert a 1, 2, or 4-byte string to an integer
  126.     char           // convert integers to 1-byte strings
  127.     char2          // convert integers to 2-byte strings
  128.     char4          // convert integers to 4-byte strings
  129.     concat         // concatenated strings together
  130.     copystr        // duplicate a string one or more times
  131.     flipcase       // toggle the case of each character in a string
  132.     hex2bin        // convert hex strings to binary strings
  133.     icompare       // test strings for equality, ignoring case
  134.     joinstr        // combine strings into a 'multistring'
  135.     locase         // convert a string to lower case
  136.     pad            // left or right justify a string and pad the string
  137.     pos            // search for a string within another string
  138.     poschar        // search for a character class in string
  139.     posnot         // search for ~character class in string
  140.     sizeof         // return the size of a string (in characters)
  141.     splitstr       // split a 'multistring' into substrings
  142.     sub            // replace a substring within another string
  143.     thousands      // convert a number to a thousands-separated string
  144.     upcase         // convert a string to upper case
  145.  
  146.  
  147.   Miscellaneous:
  148.   ─────────────
  149.  
  150.   builtin functions:
  151.     arg            // access function arguments
  152.     base           // convert a number to a string in a new base
  153.     beep           // beep the PC speaker
  154.     delay          // suspend execution of a macro
  155.     eval           // evaluate a string as macro source code
  156.     exec           // execute a DOS program
  157.     halt           // exit to DOS immediately
  158.     peek           // return a copy of a DOS memory area
  159.     poke           // modify a DOS memory area
  160.     rand           // generate a random number
  161.  
  162.  
  163.   Buffers:
  164.   ───────
  165.  
  166.   statements:
  167.     databuf        // define or add to a data buffer
  168.  
  169.   builtin functions:
  170.     actualrow      // get the actual row over an apparent distance
  171.     addline        // add a line to the end of a buffer
  172.     apparentrow    // get the apparent row over an actual distance
  173.     asciibuf       // create a buffer of ascii characters
  174.     bufchanged?    // test if buffer is modified
  175.     buffer?        // test if a buffer exists
  176.     bufferflag     // change buffer flags
  177.     bufferflag?    // get buffer flags
  178.     createbbuf     // create a new binary buffer
  179.     createbuf      // create a new buffer
  180.     currbuf        // change the current buffer
  181.     delchar        // delete text on a line
  182.     delline        // delete a line
  183.     destroybuf     // destroy a buffer
  184.     findbuf        // find a buffer with a given buffer name
  185.     getbinarylen   // get binary line length used to load a buffer
  186.     getbufname     // get the buffer name
  187.     getchar        // get a character from a buffer
  188.     getcurrbuf     // get the current bufferid
  189.     getlinebeg     // get the starting column of a line
  190.     getlinelen     // get the length of a line
  191.     getlines       // get the total number of lines in buffer
  192.     getloadinfo    // get directory information after loadbuf/insertbuf
  193.     getprevbuf     // get the previous bufferid
  194.     gettext        // get a line or a portion of a line from a buffer
  195.     gotobuf        // change the default buffer for builtin functions
  196.     hidebuf        // hide a buffer
  197.     insabove       // insert a line before another line
  198.     insertbuf      // insert a file into a buffer
  199.     insline        // insert a line after another line
  200.     instext        // insert a string into a line
  201.     joinline       // join two lines into one line
  202.     lineflag       // change line flags
  203.     lineflag?      // get line flags
  204.     loadbuf        // create a new buffer from a file or directory
  205.     ovltext        // overlay a string onto a line
  206.     printbuf       // print a buffer
  207.     savebuf        // save a buffer to a file
  208.     setbufname     // set the name associated with a buffer
  209.     splitline      // split a line into two lines
  210.     trunc?         // test if buffer was truncated when loaded
  211.     undosize       // set the undo stack size for a buffer
  212.     writetext      // insert or overlay a string in a line
  213.  
  214.   extension functions:
  215.     backsp         // delete char to the left (with joinline)
  216.     caseword       // change the case of the word at the cursor
  217.     centerline     // center the line at the cursor
  218.     commentline    // comment the line at the cursor
  219.     delchar2       // delete the char at the cursor (with joinline)
  220.     delword        // delete right word at the cursor
  221.     enter          // enter key
  222.     getword        // get the word at the cursor or at a column
  223.     insline2       // insert a line with autoindent
  224.     literal        // prompt to enter the next character literally
  225.     livewrap       // live word wrap support
  226.     splitline2     // split a line with autoindent
  227.     swapline       // swap lines at the cursor
  228.     tabfile        // detab or entab the current file
  229.     timestamp      // enter the date and time at the cursor
  230.     write          // enter a string at the cursor
  231.  
  232.  
  233.   Cursors:
  234.   ───────
  235.  
  236.   builtin functions:
  237.     col            // move the cursor to a column
  238.     colorcursor    // change the cursor color
  239.     currcursor     // change the current cursor
  240.     cursor?        // test if a cursor exists
  241.     destroycursor  // destroy a cursor and any associated window
  242.     down           // move the cursor down
  243.     getcol         // get the cursor column
  244.     getcurrcurs    // get the current cursor
  245.     getcurswin     // get window associated with a cursor
  246.     getprevcurs    // get the previous cursor
  247.     getrow         // get the cursor row
  248.     gotopos        // move the cursor (absolute)
  249.     insert?        // get cursor insert/overstrike mode
  250.     lastpos        // move the cursor to the last cursor position
  251.     left           // move the cursor left
  252.     movepos        // move the cursor (relative)
  253.     popcursor      // restore the cursor position from the cursor stack
  254.     pushcursor     // save the cursor position on the cursor stack
  255.     right          // move the cursor right
  256.     row            // move the cursor to a row
  257.     setcursor      // create a new cursor or change the cursor state
  258.     up             // move the cursor up
  259.  
  260.   extension functions:
  261.     enter          // the enter key
  262.     nextword       // find the next word
  263.     prevword       // find the previous word
  264.     tableft        // tab left
  265.     tabright       // tab right
  266.  
  267.  
  268.   Bookmarks:
  269.   ─────────
  270.  
  271.   builtin functions:
  272.     currbook       // change the current bookmark
  273.     destroybook    // destroy a bookmark
  274.     getbookbuf     // get the buffer associated with a bookmark
  275.     getcurrbook    // get the current bookmark for a buffer
  276.     getprevbook    // get the previous bookmark in the buffer
  277.     gotobook       // move the cursor to a bookmark
  278.     setbook        // create a new bookmark or move an existing bookmark
  279.  
  280.   extension functions:
  281.     askbook        // prompt for a bookmark to move to
  282.     cyclebook      // cycle though all existing bookmarks
  283.     gotobook2      // move cursor to a bookmark (with messages)
  284.     placebook      // set a bookmark (with messages)
  285.     quickbook      // place a 'quick' bookmark
  286.  
  287.  
  288.   Marks:
  289.   ─────
  290.  
  291.   builtin functions:
  292.     colormark      // change the mark color
  293.     copymark       // mark a copy of a mark
  294.     currmark       // change the current (top) mark
  295.     destroymark    // destroy a mark
  296.     extendmark     // extend the current mark to the cursor position
  297.     getcurrmark    // get the current mark for a buffer
  298.     getmarkbot     // get the bottom row of a mark
  299.     getmarkbuf     // get the buffer associated with the mark
  300.     getmarkcols    // get the mark width
  301.     getmarkleft    // get the left column of mark
  302.     getmarkright   // get the right column of mark
  303.     getmarkrows    // get the mark height
  304.     getmarktop     // get top row of a mark
  305.     getmarktype    // get the mark type
  306.     getmarkuse     // get the default markid
  307.     getprevmark    // get the previous mark
  308.     inmark?        // test if a cursor position is inside a mark
  309.     mark?          // test for the existence of a mark
  310.     markchar       // begin or extend a char mark
  311.     markcolumn     // begin or extend a column mark
  312.     markline       // begin or extend a line mark
  313.     markstream     // being or extend a stream mark
  314.     stopmark       // stop the cursor extension of a mark
  315.     usemark        // change the default markid
  316.  
  317.   extension functions:
  318.     getmarktext    // get top line of text in a mark
  319.     markeol        // mark to the end of the current line
  320.     markpara       // mark the paragraph at the cursor
  321.     markword       // mark the word at the cursor
  322.     smark          // allow CUA <shift> marking after cursor movement
  323.  
  324.  
  325.   Blocks:
  326.   ──────
  327.  
  328.   builtin functions:
  329.     caseblock      // change the case of text in a mark
  330.     copyblock      // copy the text in a mark
  331.     copyblockover  // overlay the text in a mark over other text
  332.     deleteblock    // delete the text in a mark
  333.     fillblock      // fill a mark with a repeating character or string
  334.     foldblock      // manipulate folds in a mark
  335.     formatblock    // reformat the text in a mark
  336.     justblock      // justify the text in a mark
  337.     moveblock      // move the text in a mark
  338.     printblock     // print the text in a mark
  339.     saveblock      // save the text in a mark
  340.     shiftblock     // shift the text in a mark left or right
  341.     sortblock      // sort the text in a mark
  342.     tabblock       // detab or entab the text in a mark
  343.  
  344.   extension functions:
  345.     copyblock2     // copy a block (or a line) of text
  346.     deleteblock2   // delete a block of text
  347.     fillblock2     // prompt to fill a mark with a string
  348.     formatblock2   // reformat a block or paragraph
  349.     justblock2     // justify a block text between margins
  350.     moveblock2     // move a block of text
  351.     moveblockover  // move a block of text over other text
  352.     quote          // quote a paragraph or a block of text
  353.     saveblock2     // prompt to save a block of text
  354.     sortblock2     // sort a block of text
  355.  
  356.  
  357.   Clipboards:
  358.   ──────────
  359.  
  360.   extension functions:
  361.     askclip        // prompt to change the current clipboard
  362.     clear          // erase the contents of a clipboard
  363.     copy           // copy or copy-append to a clipboard
  364.     cut            // cut or cut-append to a clipboard
  365.     paste          // paste or paste-over from a clipboard
  366.  
  367.  
  368.   Undo and Redo:
  369.   ─────────────
  370.  
  371.   builtin functions:
  372.     redo           // redo the last change or group of changes
  373.     undo           // undo the last change or group of changes
  374.     undobegin      // start a group of undoable operations
  375.     undocursor     // save the cursor position on the undo/redo stack
  376.     undoend        // end a group of undoable operations
  377.     undosize       // associate an undo/redo stack with a buffer
  378.  
  379.  
  380.   Search and Replace:
  381.   ──────────────────
  382.  
  383.   builtin functions:
  384.     find           // search for a string
  385.     replace        // search for a string, replace with another string
  386.  
  387.   library functions:
  388.     gotoerror      // goto the compiler error on the current line
  389.     gotomatch      // find the matching character
  390.     scanfiles      // scan files for a string
  391.     search         // search or replace within the current file
  392.  
  393.   extension functions:
  394.     askcol         // prompt for a column to go to
  395.     askfind        // prompt for a search (multistring)
  396.     askfindo       // prompt for find occurrences of a string
  397.     askrepl        // prompt for search and replace (multistring)
  398.     askrow         // prompt for a row to go to
  399.     askscan        // prompt to scan files for a string
  400.     col2           // goto a column (absolute or relative +/-)
  401.     findlast       // repeat the last search/replace
  402.     findlasto      // find occurrences of the last search string
  403.     findo          // find occurrences of a string
  404.     gotomark       // goto an edge of a mark
  405.     gotomatch2     // find the matching char (with highlight)
  406.     isearch        // incremental search
  407.     row2           // goto a row (absolute or relative +/-)
  408.     search2        // search/replace with messages and highlighting
  409.     searchfiles    // scan files for a string (multistring arguments)
  410.  
  411.  
  412.   Folds:
  413.   ─────
  414.  
  415.   builtin functions:
  416.     closefold      // close a fold (and optionally, subfolds)
  417.     createfold     // create a one-line 'open' fold
  418.     destroyfold    // destroy a fold (and optionally, subfolds)
  419.     fold?          // test for the existence of a closed fold
  420.     foldblock      // manipulate folds within a mark
  421.     getfold        // get information about a fold
  422.     openfold       // open a fold (and optionally, subfolds)
  423.  
  424.   extension functions:
  425.     foldall        // manipulate all folds in a buffer
  426.     foldline       // fold or unfold a line
  427.  
  428.  
  429.   Timers:
  430.   ──────
  431.  
  432.   builtin functions:
  433.     destroytimer   // destroys a timer
  434.     setalarm       // sets an alarm timer
  435.     setrepeat      // sets a repeating interval timer
  436.     settimer       // sets a non-repeating interval timer
  437.     timer?         // tests for the existence of a timer
  438.  
  439.  
  440.   Windows:
  441.   ───────
  442.  
  443.   builtin functions:
  444.     createwindow   // create a new window
  445.     destroywindow  // destroy a window
  446.     display        // update the display
  447.     eotstring      // change the 'end-of-text' line in a window
  448.     frame?         // test for window frame components
  449.     getborder      // get window border information
  450.     getbotwin      // get the windowid of the bottommost window
  451.     getchild       // get a child windowid
  452.     getcolor       // get window colors
  453.     getcoord       // get window dimensions and coordinates
  454.     getcurrwin     // get the windowid of the topmost window
  455.     getnextwin     // get the windowid of the next window
  456.     getparent      // get a parent windowid
  457.     getprevwin     // get the windowid of the previous window
  458.     getregion      // get a window region from virtual coordinates
  459.     gettitle       // get a window title
  460.     getviewbot     // get the bottommost visible row in window
  461.     getviewcols    // get the visible window width
  462.     getviewleft    // get the leftmost column in window
  463.     getviewright   // get the rightmost visible column in window
  464.     getviewrows    // get the visible window height
  465.     getviewtop     // get the topmost row in a window
  466.     getwinbuf      // get the bufferid associated with a window
  467.     getwincount    // get the number of windows or child windows
  468.     getwinctrl     // get a title bar control
  469.     getwincurs     // get the cursorid attached to a window
  470.     getwinobj      // get object name associated with a window
  471.     getwinscr      // get a scroll bar position from virtual coords
  472.     gotowindow     // change the default window for builtin functions
  473.     hidecursor     // hide a cursor (temporarily for buffer windows)
  474.     hidewindow     // hide a window temporarily
  475.     hilite         // highlight text in a window
  476.     movewindow     // move a window to a new location
  477.     setborder      // change the window borders
  478.     setcolor       // change the window colors
  479.     setframe       // add or remove window frame components
  480.     setnextwin     // set the next window
  481.     setparent      // set the parent window
  482.     setprevwin     // set the previous window
  483.     setshadow      // set the window shadow
  484.     setshadow2     // set the 1/2 window shadow
  485.     settitle       // change a window title
  486.     setwinctrl     // define window title bar controls
  487.     setwincurs     // attach a cursor (and a buffer) to a window
  488.     setwinobj      // associate a window with an object
  489.     showcursor     // show a cursor
  490.     showwindow     // show a hidden window
  491.     sizewindow     // change the size of a window
  492.     tilewindow     // tile windows
  493.     virtocol       // convert a virtual X-coordinate to a column
  494.     virtorow       // convert a virtual Y-coordinate to a row
  495.     window?        // test for the existence of a window
  496.     wintype?       // test the window event object hierarchy
  497.  
  498.     Note: the following builtin functions are only meaningful in video
  499.     output windows (windows which do not display a buffer):
  500.  
  501.     clearwindow    // clear the contents of a video window
  502.     getx           // get the column of video window cursor
  503.     gety           // get the row of video window cursor
  504.     gotoxy         // move the cursor of video window
  505.     writeline      // display a string and CR in a video window
  506.     writestr       // display a string in a video window
  507.  
  508.   library functions:
  509.     cascade        // cascade all windows
  510.     copywin        // copy the current edit window
  511.     currwin        // change the current window
  512.     deletewin      // delete the current window
  513.     getsettings    // get the current window settings
  514.     max?           // test if the current window is maximized
  515.     maximize       // maximize the current window
  516.     min?           // test if the current window is minimized
  517.     minimize       // minimize the current window
  518.     nextwindow     // switch to the next window
  519.     pankey         // pan the video background with the keyboard
  520.     prevwindow     // switch to a previous window
  521.     restore        // restore the current window
  522.     setdraw        // set the window line-drawing style
  523.     setting        // change a window setting
  524.     setting?       // test if specified window settings are ON
  525.     sizekey        // resize or move the current window with the kbd
  526.     sizewin        // resize or move the current window
  527.     splitwin       // split the current edit window
  528.     tile           // tile all windows horizontally or vertically
  529.     togglestyle    // toggle the style of the current window
  530.     toolbar        // display a toolbar on the current window
  531.     winlist        // display a popup menu of open windows
  532.  
  533.  
  534.   Scrolling:
  535.   ─────────
  536.  
  537.   builtin functions:
  538.     adjustcol      // adjust left window view offset
  539.     adjustrow      // adjust top window view offset
  540.     pagedown       // scroll down one page
  541.     pageup         // scroll up one page
  542.     rollcol        // scroll left or right by a relative amount
  543.     rollrow        // scroll up or down by a relative amount
  544.     scrollcol      // scroll directly to a column
  545.     scrollrow      // scroll directly to a row
  546.  
  547.  
  548.   Video:
  549.   ─────
  550.  
  551.   builtin functions:
  552.     blink          // enable or disable the video blink mode
  553.     getpalette     // return a color attribute or the entire palette
  554.     getvidbot      // return the bottom edge of the virtual screen
  555.     getvidcols     // return the screen width
  556.     getvidleft     // return the left edge of the virtual screen
  557.     getvidright    // return the right edge of the virtual screen
  558.     getvidrows     // return the screen height
  559.     getvidtop      // return the top edge of the virtual screen
  560.     mono?          // test for a monochrome display
  561.     pan            // pan the virtual screen (relative)
  562.     panto          // pan the virtual screen (absolute)
  563.     setdisplay     // enable/disable display updating
  564.     setpalette     // define the color palette
  565.     setvideo       // change video mode/background
  566.     showentry      // show the entry screen when the editor was started
  567.     videoborder    // change the video overscan border color
  568.  
  569.   library functions:
  570.     videomode      // change the video mode
  571.  
  572.   extension functions:
  573.     togglemode     // toggle the video mode between 80x25 and 80x50
  574.  
  575.  
  576.   Syntax Highlighting:
  577.   ───────────────────
  578.  
  579.   statements:
  580.     keyword        // define syntax highlighting keywords
  581.  
  582.   builtin functions:
  583.     setsyntax      // enable or disable syntax highlighting for a window
  584.     syntax         // define a syntax highlighting template for the
  585.                    //   current object
  586.  
  587.   extension functions:
  588.     onsyntax       // called by the editory library (LIB.X) to get the
  589.                    // syntax highlighting object for a filename
  590.     hiliteword     // dynamically define the word at the cursor as
  591.                    // a syntax highlighting keyword
  592.  
  593.   File Handling:
  594.   ─────────────
  595.  
  596.   builtin functions:
  597.     bootpath       // get a filename in terms of the editor bootpath
  598.     chgfileattr    // change file attributes
  599.     closefile      // close an open file
  600.     copyfile       // copy a file
  601.     createdir      // create a new directory
  602.     currpath       // change the current drive and/or path
  603.     deletefile     // delete a file
  604.     fileattr?      // test file attributes
  605.     filepos        // change the position in an open file
  606.     getbootpath    // get the editor invokation path
  607.     getcurrpath    // get the current DOS path
  608.     getdisk        // get disk drive information
  609.     locatefile     // search for a file or directory in a path
  610.     openfile       // open a file and return a file handle
  611.     qualify        // get a fully qualified filename
  612.     readfile       // read from an open file
  613.     renamefile     // rename a file
  614.     scanfile       // scan a file for a string
  615.     setbootpath    // change the bootpath
  616.     touchfile      // update the date and time of a file
  617.     writefile      // write to an open file
  618.  
  619.   library functions:
  620.     dir?           // test if a filespec is a directory
  621.  
  622.   extension functions:
  623.     defext         // append a default extension if no extension
  624.     forceext       // force a filename to have an extension
  625.     getext         // get the extension portion of a filespec
  626.     getname        // get the name & extension portion of a filespec
  627.     getpath        // get the drive & path portion of a filespec
  628.  
  629.  
  630.   System Initialization:
  631.   ─────────────────────
  632.  
  633.   builtin functions:
  634.     cursorsize     // set the insert and overstrike cursor size
  635.     international  // define international date and time formats
  636.     maxems         // define the amount of EMS memory to use
  637.     maxxms         // define the amount of XMS memory to use
  638.     memoptions     // set memory usage options
  639.     printformat    // define the initial printer settings
  640.     speaker        // enable or disable the PC speaker
  641.     swapfiles      // define the swapfiles to use
  642.  
  643.  
  644.   System Information:
  645.   ──────────────────
  646.  
  647.   builtin functions:
  648.     getdate        // return the date in international format
  649.     getenv         // return the value of a DOS environment variable
  650.     getexe         // return the editor .EXE file name
  651.     getos          // return the operating system version
  652.     getrawtime     // return the time and date in raw format
  653.     gettime        // return the time in international format
  654.     getversion     // return the current version of the editor
  655.  
  656.  
  657.   Keyboard:
  658.   ────────
  659.  
  660.   builtin functions:
  661.     enhancedkbd    // enable or disable the enhanced keyboard keys
  662.     getkey         // wait for a key and return a keycode
  663.     getkeycode     // get a keycode for keyname
  664.     getkeyname     // get a keyname for a keycode
  665.     inheritkeys    // enable or disable keyboard event inheritance
  666.     keyhit?        // test if a key was pressed
  667.     queuekey       // push keycode(s) onto the event queue
  668.     sendkey        // execute keycode(s) immediately
  669.     shiftkey?      // test the shift key state
  670.  
  671.   extension functions:
  672.     askrepkey      // prompt to repeat a key or keys
  673.     prefix         // generate multi-key events
  674.  
  675.  
  676.   Mouse:
  677.   ─────
  678.  
  679.   builtin functions:
  680.     button?        // test the mouse button state
  681.     closemouse     // disable the mouse
  682.     getmousex      // get the mouse virtual X coordinate
  683.     getmousey      // get the mouse virtual Y coordinate
  684.     getregion      // get the window region at the mouse position
  685.     hidemouse      // hide the mouse cursor
  686.     mousepos       // change the mouse pointer position
  687.     mousesense     // change the mouse sensitivity
  688.     openmouse      // enable the mouse
  689.     showmouse      // show the mouse cursor
  690.     virtocol       // convert a virtual X coordinate to a column
  691.     virtorow       // convert a virtual Y coordinate to a row
  692.  
  693.   library functions:
  694.     trackmouse     // move the cursor to the mouse pointer position
  695.  
  696.  
  697.   Menus:
  698.   ─────
  699.  
  700.   statements:
  701.     menu           // define a pull-down or popup menu
  702.     menubar        // define a menu bar for a window
  703.  
  704.   builtin functions:
  705.     getmenu        // get menu information
  706.     getmenubar     // get menu bar information
  707.     hilitebar      // highlight menu bar item
  708.  
  709.   library functions:
  710.     gotobar        // highlight a menu bar item
  711.     gotobar2       // highlight a toolbar or drive menu item
  712.     gotomenu       // display a pull-down menu
  713.     popup          // display a popup menu
  714.     submenu        // display a submenu
  715.  
  716.  
  717.   Desktop:
  718.   ───────
  719.  
  720.   library functions:
  721.     begdesk        // mark the beginning of the current desktop
  722.     currdesk       // set the current desktop to the window layout
  723.     enddesk        // mark the end of the current desktop
  724.     opendesk       // load a desktop and make it the current desktop
  725.     openhistory    // load history buffers and the current desktop
  726.     restoredesk    // set the window layout to the current desktop
  727.     savedesk       // save the current desktop to a file
  728.     savehistory    // save all history buffers and the current desktop
  729.  
  730.  
  731.   Prompts and Dialog boxes:
  732.   ────────────────────────
  733.  
  734.   library functions:
  735.     about          // display an about dialog box
  736.     ask            // prompt the user for a string
  737.     askfile        // display a file selection picklist
  738.     askprint       // display a print settings dialog box
  739.     finddlg        // display a find dialog box
  740.     msgbox         // display a message in a window
  741.     okbox          // display an Ok-Cancel message box
  742.     repldlg        // display a replace dialog box
  743.     say            // display a message on the window title bar
  744.     scandlg        // display a scan dialog box
  745.     shortbox       // display a message box without an 'Ok' button
  746.     yncbox         // display a Yes-No-Cancel message box
  747.  
  748.   extension functions:
  749.     asciilist      // display an ascii chart (with char entry)
  750.     askrac         // replace/append/cancel popup menu
  751.     askbinary      // binary line length prompt
  752.     askc           // generic prompt to change a config variable
  753.     askcomplete    // filename completion within an open prompt
  754.     askdelim       // default line delimiter prompt
  755.     asklmarg       // left margin prompt
  756.     askprompt      // change the prompt style
  757.     askprthdr      // change the print header/footer
  758.     askrmarg       // right margin prompt
  759.     asktabv        // variable tabs prompt
  760.     asktabw        // tabwidth prompt
  761.     askx           // generic prompt (with command execution)
  762.     picklist       // display a file selection picklist
  763.  
  764.  
  765.   Prompt History:
  766.   ──────────────
  767.  
  768.   library functions:
  769.     addhistory     // add a string to a history buffer
  770.     askhistory     // display a history menu for the current prompt
  771.     gethistname    // get the history buffer for the current prompt
  772.     gethiststr     // get the most recent string in a history buffer
  773.     nexthist       // display the next history string in prompt
  774.     openhistory    // load history buffers and the current desktop
  775.     pophistory     // display a popup history menu
  776.     prevhist       // display the previous history string in prompt
  777.     savehistory    // save all history buffers and the current desktop
  778.  
  779.  
  780.   Primary Editing:
  781.   ───────────────
  782.  
  783.   library functions:
  784.     close          // close the current edit or file manager window
  785.     filelist       // display a popup menu of open buffers
  786.     nextfile       // display the next buffer in the current window
  787.     open           // open a new edit or file manager window
  788.     openbuf        // display a buffer in an edit window
  789.     opennew        // open a new edit window with an empty buffer
  790.     prevfile       // display the previous buffer in the current window
  791.     reopen         // refresh the current edit or file manager window
  792.     save           // save the buffer in the current edit window
  793.     setname        // rename the current edit window and buffer
  794.  
  795.   extension functions:
  796.     askasave       // prompt to set the autosave time interval
  797.     askinsert      // prompt to insert a file at the cursor
  798.     askname        // prompt to change the current file name
  799.     askopen        // prompt to open an edit or file manager window
  800.     askopenb       // prompt to open a file in binary mode
  801.     asksaveas      // prompt to save the current file under a new name
  802.     autosave       // set the autosave time interval
  803.     close          // close the current window (higher level)
  804.     closeall       // close all windows
  805.     opencfg        // open an AML configuration file
  806.     openlast       // open the last file closed
  807.     openword       // open the filename at the cursor
  808.     print          // print current file or marked block
  809.     printfile      // print a file on disk
  810.     printstr       // send a string to the printer
  811.     quickref       // display the function reference or quick reference
  812.  
  813.  
  814.   DOS Shell:
  815.   ─────────
  816.  
  817.   builtin functions:
  818.     exec           // execute a dos program (low level)
  819.  
  820.   extension functions:
  821.     askrun         // prompt to execute a dos command
  822.     askruncap      // prompt to capture dos command output
  823.     os             // execute a dos program (change and restore path)
  824.     run            // execute a dos command
  825.     runcap         // execute a dos command and capture output
  826.     shell          // shell to dos
  827.  
  828.  
  829.   Key Macros:
  830.   ──────────
  831.  
  832.   builtin functions:
  833.     playing?       // test if a key macro is currently playing
  834.  
  835.   library functions:
  836.     assignkey      // assign the scrap macro to a key
  837.     erasekey       // erase the scrap macro or all key macros
  838.     openkey        // load key macros in a file
  839.     playkey        // execute a key macro
  840.     savekey        // save all key macros to a file
  841.     setting        // turn record mode ON and OFF
  842.  
  843.   extension functions:
  844.     askopenkey     // prompt to open a key macro file
  845.     asksavekey     // prompt to save current key macros
  846.     erasekey2      // erase key macros (with messages)
  847.     openkey2       // open a key macro file (with messages)
  848.     play           // play the current scrap macro
  849.     record         // toggle the record setting
  850.  
  851.  
  852.   File Manager:
  853.   ────────────
  854.  
  855.   library functions:
  856.     fdobrk         // break out of the 'fdomark' function
  857.     fdomark        // execute a function for all marked files
  858.     fmark          // mark or unmark files
  859.     fmark?         // test if files are marked
  860.     fscanstr       // get the scan string for a file manager window
  861.     fsort          // sort files
  862.     ftype?         // test file manager window type
  863.     fup            // display the parent directory
  864.     getffile       // get the filespec at the current line
  865.     openf          // open files (low level)
  866.  
  867.   extension functions:
  868.     fattr          // change the attributes of a file or marked files
  869.     fcopy          // copy a file or marked files
  870.     fdelete        // delete a file or marked files
  871.     fmkdir         // create a new directory
  872.     fmove          // move a file or marked files
  873.     fopen          // open a file or marked files
  874.     fprint         // print a file or marked files
  875.     frename        // rename a file or directory
  876.     frun           // execute a file
  877.     ftouch         // update date/time of a file or marked files
  878.  
  879.  
  880.   Internal Events:
  881.   ───────────────
  882.  
  883.   builtin functions:
  884.     oncompiling    // called while compiling a file
  885.     onloading      // called while loading a file
  886.     onprinting     // called while printing a file
  887.     onsaving       // called while saving a file
  888.  
  889.   library functions:
  890.     onalarm        // called to sound the PC speaker
  891.     onclose        // called before closing a file or fmgr window
  892.     oncomment      // returns language comments for a filename
  893.     onentry        // called after starting the editor
  894.     onexit         // called before exiting the editor
  895.     onfocus        // called after switching to another file or window
  896.     onfound        // called after a string is found
  897.     onhotkey       // called after a filelist hotkey char is entered
  898.     onopen         // called after loading a new file or fmgr window
  899.     onscanning     // called while scanning files
  900.     onsyntax       // returns a syntax object for a filename
  901.  
  902.   extension functions:
  903.     onsave         // called before a file is saved
  904.  
  905.